﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace VentaElectrodomesticos.Datos
{
    public static class Connection
    {
        public static SqlConnection getConnection()
        {
            SqlConnection conn = new SqlConnection("Data Source=" + DBConfig.Host + DBConfig.Instance + ";Initial Catalog=" + DBConfig.DB + ";User Id=" + DBConfig.User + ";Password=" + DBConfig.Password);      
            return conn;
        }
    }
}
